package com.vcc.service.client.dto.user;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Data
@Getter
@Setter
public class ExternalUserRegisterDto implements Serializable {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "邮箱不能为空")
    private String email;

    @NotBlank(message = "邀请码不能为空")
    private String invitationCode;

    @NotBlank(message = "邮箱验证码不能为空")
    private String emailCode;


    private Long registerId;

    private String registerSource;
}
